Skip to content

feat(elasticsearch)!: add vector search support and remove query passing through param#2891

Merged
duwenxin99 merged 20 commits intomainfrom
feat/elasticsearch-semantic-search
Apr 10, 2026
Merged

feat(elasticsearch)!: add vector search support and remove query passing through param#2891
duwenxin99 merged 20 commits intomainfrom
feat/elasticsearch-semantic-search

Conversation

@duwenxin99
Copy link
Copy Markdown
Contributor

@duwenxin99 duwenxin99 commented Mar 30, 2026

  • Remove support for query passing through param. This should be a separate execute-esql tool.
  • Refactor test to use testcontainer
  • add semantic search tests and docs
  • remove unused array tool

Part of #2415

@duwenxin99 duwenxin99 requested a review from a team as a code owner March 30, 2026 03:11
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds semantic search capabilities to the Elasticsearch integration. It updates the CI pipeline to include an API_KEY secret and modifies integration tests to support vector-based indexing and ES|QL semantic search queries. The review feedback suggests refining error handling during index creation to specifically target existing resources and using strings.Repeat to simplify the construction of test vector strings.

@duwenxin99 duwenxin99 mentioned this pull request Mar 30, 2026
1 task
@duwenxin99 duwenxin99 force-pushed the feat/elasticsearch-semantic-search branch from 3de7daa to 797df13 Compare April 6, 2026 22:17
@duwenxin99 duwenxin99 added the release candidate Use label to signal PR should be included in the next release. label Apr 8, 2026
@duwenxin99 duwenxin99 changed the title test(elasticsearch): add integration tests for semantic vector search feat(elasticsearch)!: add vector search support and remove query passing through param Apr 8, 2026
@duwenxin99 duwenxin99 force-pushed the feat/elasticsearch-semantic-search branch from ed3a4c7 to 00443c4 Compare April 8, 2026 21:48
@duwenxin99 duwenxin99 enabled auto-merge (squash) April 9, 2026 20:48
@duwenxin99 duwenxin99 force-pushed the feat/elasticsearch-semantic-search branch from db22890 to b6f5ca9 Compare April 9, 2026 21:42
@duwenxin99 duwenxin99 force-pushed the feat/elasticsearch-semantic-search branch from 1727640 to 4ccb63f Compare April 9, 2026 23:29
@duwenxin99 duwenxin99 force-pushed the feat/elasticsearch-semantic-search branch from 246e670 to 3797d7a Compare April 10, 2026 00:09
@duwenxin99 duwenxin99 merged commit d44e879 into main Apr 10, 2026
18 checks passed
@duwenxin99 duwenxin99 deleted the feat/elasticsearch-semantic-search branch April 10, 2026 00:48
@github-actions
Copy link
Copy Markdown
Contributor

🧨 Preview deployments removed.

Cloudflare Pages environments for pr-2891 have been deleted.

Yuan325 added a commit that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.0.0](v0.32.0...v1.0.0)
(2026-04-10)


> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.


### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([#2891](#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([#2976](#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([#2944](#2944))
([c924701](c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([#2997](#2997))
([6ed9700](6ed9700))
* **tools/bigquerysql:** Add semantic search support
([#2890](#2890))
([862c396](862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([#3013](#3013))
([ae49fb7](ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([#2891](#2891))
([d44e879](d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([#2976](#2976))
([b2472d4](b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([#2938](#2938))
([dc2c2b4](dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[1.0.0](v0.32.0...v1.0.0)
(2026-04-10)

> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.

### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([#2891](#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([#2976](#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([#2944](#2944))
([c924701](c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([#2997](#2997))
([6ed9700](6ed9700))
* **tools/bigquerysql:** Add semantic search support
([#2890](#2890))
([862c396](862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([#3013](#3013))
([ae49fb7](ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([#2891](#2891))
([d44e879](d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([#2976](#2976))
([b2472d4](b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([#2938](#2938))
([dc2c2b4](dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 8b07b2d
github-actions bot pushed a commit to renovate-bot/googleapis-_-genai-toolbox that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[1.0.0](googleapis/mcp-toolbox@v0.32.0...v1.0.0)
(2026-04-10)

> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.

### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([googleapis#2944](googleapis#2944))
([c924701](googleapis@c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([googleapis#2997](googleapis#2997))
([6ed9700](googleapis@6ed9700))
* **tools/bigquerysql:** Add semantic search support
([googleapis#2890](googleapis#2890))
([862c396](googleapis@862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([googleapis#3013](googleapis#3013))
([ae49fb7](googleapis@ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
([d44e879](googleapis@d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))
([b2472d4](googleapis@b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([googleapis#2938](googleapis#2938))
([dc2c2b4](googleapis@dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 8b07b2d
github-actions bot pushed a commit to pepe57/genai-toolbox that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[1.0.0](googleapis/mcp-toolbox@v0.32.0...v1.0.0)
(2026-04-10)

> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.

### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([googleapis#2944](googleapis#2944))
([c924701](googleapis@c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([googleapis#2997](googleapis#2997))
([6ed9700](googleapis@6ed9700))
* **tools/bigquerysql:** Add semantic search support
([googleapis#2890](googleapis#2890))
([862c396](googleapis@862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([googleapis#3013](googleapis#3013))
([ae49fb7](googleapis@ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
([d44e879](googleapis@d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))
([b2472d4](googleapis@b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([googleapis#2938](googleapis#2938))
([dc2c2b4](googleapis@dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 8b07b2d
github-actions bot pushed a commit to anikasharma03/genai-toolbox that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[1.0.0](googleapis/mcp-toolbox@v0.32.0...v1.0.0)
(2026-04-10)

> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.

### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([googleapis#2944](googleapis#2944))
([c924701](googleapis@c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([googleapis#2997](googleapis#2997))
([6ed9700](googleapis@6ed9700))
* **tools/bigquerysql:** Add semantic search support
([googleapis#2890](googleapis#2890))
([862c396](googleapis@862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([googleapis#3013](googleapis#3013))
([ae49fb7](googleapis@ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
([d44e879](googleapis@d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))
([b2472d4](googleapis@b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([googleapis#2938](googleapis#2938))
([dc2c2b4](googleapis@dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 8b07b2d
github-actions bot pushed a commit to pavankrishna13/genai-toolbox that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[1.0.0](googleapis/mcp-toolbox@v0.32.0...v1.0.0)
(2026-04-10)

> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.

### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([googleapis#2944](googleapis#2944))
([c924701](googleapis@c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([googleapis#2997](googleapis#2997))
([6ed9700](googleapis@6ed9700))
* **tools/bigquerysql:** Add semantic search support
([googleapis#2890](googleapis#2890))
([862c396](googleapis@862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([googleapis#3013](googleapis#3013))
([ae49fb7](googleapis@ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
([d44e879](googleapis@d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))
([b2472d4](googleapis@b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([googleapis#2938](googleapis#2938))
([dc2c2b4](googleapis@dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 8b07b2d
github-actions bot pushed a commit to Jaleel-zhu/genai-toolbox that referenced this pull request Apr 10, 2026
🤖 I have created a release *beep* *boop*
---

##
[1.0.0](googleapis/mcp-toolbox@v0.32.0...v1.0.0)
(2026-04-10)

> [!IMPORTANT]
> This is the first stable release. Please review the
[UPGRADING.md](UPGRADING.md) guide for instructions on migrating from
previous beta versions.

### ⚠ BREAKING CHANGES

* **tools/elasticsearch:** add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
* **tools/looker:** refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))

### Features

* **auth:** Support opaque token validation for `generic` authService
([googleapis#2944](googleapis#2944))
([c924701](googleapis@c924701))
* **cloudsqlpg:** Run `SELECT 1` after successful connection attempt
([googleapis#2997](googleapis#2997))
([6ed9700](googleapis@6ed9700))
* **tools/bigquerysql:** Add semantic search support
([googleapis#2890](googleapis#2890))
([862c396](googleapis@862c396))
* **tools/elasticsearch-execute-esql:** Add Tool to execute arbitrary
ES/QL queries
([googleapis#3013](googleapis#3013))
([ae49fb7](googleapis@ae49fb7))
* **tools/elasticsearch:** Add vector search support and remove query
passing through param
([googleapis#2891](googleapis#2891))
([d44e879](googleapis@d44e879))
* **tools/looker:** Refactor looker-git-branch tool into 5 separate
tools ([googleapis#2976](googleapis#2976))
([b2472d4](googleapis@b2472d4))
* **tools/mysql:** Add list-table-stats-tool to list table statistics in
MySQL and Cloud SQL MySQL source.
([googleapis#2938](googleapis#2938))
([dc2c2b4](googleapis@dc2c2b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 8b07b2d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release candidate Use label to signal PR should be included in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants